﻿<UserControl x:Class="DigitalCv.Desktop.Views.DigitalCvView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>                
                        
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        
        <!-- General Cv Details -->
        <Grid Grid.Row="0">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="*" />                
            </Grid.ColumnDefinitions>

            <Label Grid.Column="0" Content="Title" />
            <TextBox x:Name="Cv_Title" Grid.Column="2"></TextBox>
        </Grid>
        
        <!-- Technologies, Tools, Practices -->
        <Grid Grid.Row="1">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="Auto" />
                <ColumnDefinition Width="10" />
                <ColumnDefinition Width="Auto" />                
            </Grid.ColumnDefinitions>
            
            <Button Grid.Column="0" x:Name="ShowTechnologies">Technologies...</Button>
            <Button Grid.Column="2" x:Name="ShowTools">Tools...</Button>
            <Button Grid.Column="4" x:Name="ShowPractices">Practices...</Button>
        </Grid>
        
        <!-- Cv Sections -->
        <ContentControl Grid.Row="2" x:Name="ActiveItem" />                   
        
    </Grid>
</UserControl>